disable upstream's font installation rules
authorMichael Gilbert <mgilbert@debian.org>
Sun, 13 Mar 2022 04:27:41 +0000 (04:27 +0000)
committerMichael Gilbert <mgilbert@debian.org>
Sun, 13 Mar 2022 04:27:41 +0000 (04:27 +0000)
Gbp-Pq: Topic disable
Gbp-Pq: Name font-installation.patch

tools/makedep.c

index 011d9d271a4222a1164960af47c290a11db5c5d0..69260c74137ffee45f67354654903943d02ee44a 100644 (file)
@@ -2927,7 +2927,7 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source,
                 fontforge, root_src_dir_path( "fonts/genttf.ff" ), source->filename );
         if (!(source->file->flags & FLAG_SFD_FONTS)) strarray_add( &make->font_files, ttf_obj );
     }
-    if (source->file->flags & FLAG_INSTALL)
+    if (0)
     {
         add_install_rule( make, source->name, ttf_obj, strmake( "D$(fontdir)/%s", ttf_obj ));
         output_srcdir_symlink( make, ttf_obj );
@@ -2947,7 +2947,6 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source,
                     tools_path( make, "sfnt2fon" ), ttf_file );
             output( "\t%s%s -q -o $@ %s %s\n", cmd_prefix( "GEN" ),
                     tools_path( make, "sfnt2fon" ), ttf_file, args );
-            add_install_rule( make, source->name, xstrdup(font), strmake( "d$(fontdir)/%s", font ));
         }
     }
 }